Httpd log and log rotation tool, httpd log Rotation
Directory:1.1 Error Log ErrorLog1.2 access log CustomLog1.3 log rotation: rotatelogs Tool1.4 log rotation: cronolog Tool1.5 comparison between rotatelogs and cronolog
The types of logs to be
Web services are important in network communication, and what we're going to show here is the heavy-http protocol in Web services. Under CentOS6.5, the Implementation tool for the HTTP protocol is called HTTPD, and we can use commands to view the
This article directory:1.1 Error log Errorlog1.2 Access Log Customlog1.3 Log Rotation: Rotatelogs tool1.4 Log Rotation: Cronolog toolComparison of 1.5 rotatelogs and CronologThe log types that need to be logged are: Error log errorlog, access log
. Rotarelogs Split ToolIf a virtual host is configured in the virtual host configuration file, it is modified in the master configuration file.1.1 Modifying a configuration filevi/usr/local/httpd/conf/conf.d/vhosts.conf//Modify in the virtual host
Install httpd server--rpm Install • Get packages from the Rhel system CD[Email protected]-]# Is/media/cdrom/server | Grep httpdhttpd-2.2.3-6.el5.i386.rpmhttpd-devel-2.2.3-6.el5.i386.rpmhttpd-manual-2.2.3-6.el5.i386.rpmsystem-config-httpd-1.3.3
Httpd. conf
Apache main configuration file:/etc/httpd/conf/httpd. confDefault site home directory:/var/www/html/The configuration information of the Apache server is stored in the master configuration file/etc/httpd/conf/httpd. in conf, there are a
Compile and install Apache httpd 2.4 in Linux
Apache is the world's No. 1 Web server software. It can run on almost all widely used computer platforms. Because of its wide use of cross-platform and security, it is one of the most popular Web server
Note: Turn off the firewall, SELinux VirtualHost Definition: Based on IP address virtualhost:
Edit httpd.conf File:
#DocumentRoot "/web/html" #注释主服务配置
Below to establish a virtual host, if you do not edit the virtual host
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.